#用户登录
#P37048 (2021-3-23)


count = 0

while count < 3:
    username = input('请输入您的用户名：')
    password = input('请输入您的密码：')
    if username =='chenfuhai' and password == 'p37048':
        print('您已成功登录系统!')
        break
    else:
        print('用户名或密码错误，请重试!')
    count += 1
    if count >= 3:
        print('您已输错3次，系统退出')
# good